package com.wxl.common.base

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment

/**
 * create file time : 2021/3/3
 * create user : wxl
 * subscribe :
 */
abstract class AbsFragment : Fragment() {

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        return inflater.inflate(getCreateContentViewId(), null, false)
    }

    abstract fun getCreateContentViewId(): Int


   open fun getTitle(): String {
        return ""
    }
}